<?php
echo $this->doctype();
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Hello</title>
  <?php echo $this->headLink()->appendStylesheet('/css/global.css'); ?>
</head>
<body>
  <div id="header">
    <div id="header-logo"></div>
	<div id="header-nav">
		<ul class="nav-list">
			<li class="nav-item"><a href="<?php echo $this->url(
			array('controller'=>'index', 'action'=>'index'),
			'default',
			true); ?>">首页</a></li>
			<li class="nav-item"><a href="<?php echo $this->url(
			array('controller'=>'exam', 'action'=>'index'),
			'default',
			true); ?>">题目</a></li>
			<li class="nav-item"><a href="<?php echo $this->url(
			array('controller'=>'admin', 'action'=>'index'),
			'default',
			true); ?>">系统管理</a></li>
			<li class="nav-item"><a href="<?php echo $this->url(
			array('controller'=>'help', 'action'=>'index'),
			'default',
			true); ?>">帮助</a></li>
			<li class="nav-item"><a href="<?php echo $this->url(
			array('controller'=>'login', 'action'=>'sign'),
			'default',
			true); ?>">登录</a></li>
		</ul>
	</div>
  </div>
  <div id="main">
	<?php echo $this->render('two_col.phtml'); ?>
  </div>
  <div id="footer">
	<ul>
		<li><a href="<?php echo $this->url(
			array('controller'=>'profile', 'action'=>'index'),
			'default',
			true); ?>">联系我们</a></li>
		<li><a href="<?php echo $this->url(
			array('controller'=>'sitemap', 'action'=>'index'),
			'default',
			true); ?>">站点地图</a></li>
		<li><a href="<?php echo $this->url(
			array('controller'=>'counter', 'action'=>'index'),
			'default',
			true); ?>">流量统计</a></li>
		<li><a href="<?php echo $this->url(
			array('controller'=>'help', 'action'=>'index'),
			'default',
			true); ?>">使用帮助</a></li>
	</ul>
  </div>
</body>
</html>
